package com.ay.demo.akka;

import com.ay.demo.akka.hello.HelloWorld;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;

public class AkkaDemo {

	public static void main(String[] args) {
		ActorSystem actorSystem = ActorSystem.create();
		ActorRef ref = actorSystem.actorOf(Props.create(HelloWorld.class));
		ref.tell("Hello", ActorRef.noSender());
	}
}
